﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true"
	CodeFile="index.aspx.cs" Inherits="_Default" %>

<asp:Content ContentPlaceHolderID="placeholderHead" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="placeholderBody" runat="server">
	<table style="width: 100%">
		<tbody>
			<tr>
				<td style="width: 50%">
					<asp:Image ID="imgCarpool" ToolTip="http://blogs.edmunds.com/.ee8efe8/cmd.233/embedded..ee8f02f"
						ImageUrl="./assets/carpool_lane.jpg" runat="server" Height="189px" Width="311px" />
					<br />
					Our goal is to bring University of Minnesota - Twin Cities
					<br />
					students together and simplify the process of searching
					<br />
					for carpool partners.
				</td>
				<td>
					<div>
						<h2>
							New Users</h2>
						<asp:Button ID="btnCreateProfile" runat="server" Text="Create Account" OnClick="btnCreateProfile_Click" UseSubmitBehavior="false" />
					</div>
					<div>
						<h2>
							Existing Users</h2>
						<table>
							<tbody>
								<tr>
									<td>
										Email
									</td>
									<td>
										<asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
									</td>
								</tr>
								<tr>
									<td>
										Password
									</td>
									<td>
										<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
									</td>
								</tr>
							</tbody>
						</table>
						<asp:Label ID="lblLoginResult" runat="server" Text="" CssClass="errorMessage"></asp:Label><br />
						<asp:Button ID="btnLogin" runat="server" Text="Log In" OnClick="btnLogin_Click" UseSubmitBehavior="true" />
					</div>
					<br />
					<br />
					<div>
						Is your account disabled?
						<asp:LinkButton ID="btnReenableProfile" runat="server" Text="Reenable your account"
							OnClick="btnReenableProfile_Click" />!
					</div>
				</td>
			</tr>
		</tbody>
	</table>
</asp:Content>
